package com.budwk.app.wxprogram.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;
import java.util.Date;

/**
 * @title: Wx_event
 * @Author Tan
 * @Date: 2023/4/7 15:51
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("wx_event")
@Comment("求救求助信息表")
@ApiModel(description = "求救求助信息表")
public class Wx_event extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @Name
    @Column()
    @Comment("id")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    @ApiModelProperty(description = "id")
    @PrevInsert(els = {@EL("uuid()")})
    private String id;

    @Comment("信息标题")
    @Column
    @ApiModelProperty(description = "信息标题")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_title;

    @Comment("信息分类(自然灾害、求救、求助)")
    @Column
    @ApiModelProperty(description = "信息分类(自然灾害、求救、求助)")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_type;

    @Comment("信息状态(待接单订单,待协助订单,已完成订单,售后/取消订单,全部订单,订单提醒)")
    @Column
    @ApiModelProperty(description = "信息状态(待接单订单,待协助订单,已完成订单,售后/取消订单,全部订单,订单提醒)")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_status;

    @Comment("信息发布手机号")
    @Column
    @ApiModelProperty(description = "信息发布手机号")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_phone;

    @Comment("信息类型")
    @Column
    @ApiModelProperty(description = "信息类型")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_content_type;

    @Comment("信息发布所在省份")
    @Column
    @ApiModelProperty(description = "信息发布所在省份")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_province;

    @Comment("信息发布所在城市")
    @Column
    @ApiModelProperty(description = "信息发布所在城市")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_city;

    @Comment("信息发布所在区县")
    @Column
    @ApiModelProperty(description = "信息发布所在区县")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_district;

    @Comment("信息发布所在乡镇")
    @Column
    @ApiModelProperty(description = "信息发布所在乡镇")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_street;

    @Comment("信息发布的详细地址")
    @Column
    @ApiModelProperty(description = "信息发布的详细地址")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_address;

    @Comment("信息发布的时间")
    @Column
    @ApiModelProperty(description = "信息发布的时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date create_time;

    @Comment("信息审核通过时间")
    @Column
    @ApiModelProperty(description = "信息审核通过时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date msgaudit_pass_time;

    @Comment("志愿者接单时间")
    @Column
    @ApiModelProperty(description = "志愿者接单时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date volunteer_ordertime;

    @Comment("志愿者是否提供帮助")
    @Column
    @ApiModelProperty(description = "志愿者是否提供帮助")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String volunteer_whether_help;

    @Comment("特殊需求")
    @Column
    @ApiModelProperty(description = "特殊需求")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String special_requirement;

    @Comment("发布者微信昵称")
    @Column
    @ApiModelProperty(description = "发布者微信昵称")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_nickname;

    @Comment("信息发布者性别")
    @Column
    @ApiModelProperty(description = "信息发布者性别")
    @ColDefine(type = ColType.CHAR, width = 200)
    private Character event_sex;

    @Comment("定位经度")
    @Column
    @ApiModelProperty(description = "定位经度")
    @ColDefine(type = ColType.INT, width = 200)
    private Integer longitude;

    @Comment("定位纬度")
    @Column
    @ApiModelProperty(description = "定位纬度")
    @ColDefine(type = ColType.INT, width = 200)
    private Integer latitude;

    @Comment("志愿者姓名")
    @Column
    @ApiModelProperty(description = "志愿者姓名")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String volunteer_name;

    @Comment("志愿者性别")
    @Column
    @ApiModelProperty(description = "志愿者性别")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String volunteer_sex;

    @Comment("志愿者手机号")
    @Column
    @ApiModelProperty(description = "志愿者手机号")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String volunteer_phone;

    @Comment("志愿者出生年份")
    @Column
    @ApiModelProperty(description = "志愿者出生年份")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String volunteer_year;

    @Comment("志愿者完成求助的数量")
    @Column
    @ApiModelProperty(description = "志愿者完成求助的数量")
    @ColDefine(type = ColType.INT, width = 200)
    private Integer volunteer_complete_num;


    @Comment("事件发起人id")
    @Column
    @ApiModelProperty(description = "事件发起人id")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String openid;

    @Comment("事件发起人姓名")
    @Column
    @ApiModelProperty(description = "事件发起人姓名")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String user_name;


    @Comment("事件内容详情")
    @Column
    @ApiModelProperty(description = "事件内容详情")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_content;

    @Comment("图片")
    @Column
    @ApiModelProperty(description = "图片")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_pic_url;

    @Comment("创建者")
    @Column
    @ApiModelProperty(description = "创建者")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String create_by;

    @Comment("更新者")
    @Column
    @ApiModelProperty(description = "更新者")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String update_by;

    @Comment("更新时间")
    @Column
    @ApiModelProperty(description = "更新时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date update_time;

    @Comment("备注")
    @Column
    @ApiModelProperty(description = "备注")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String remark;

    @Comment("事件开始时间")
    @Column
    @ApiModelProperty(description = "事件开始时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date event_create_time;

    @Comment("事件间结束时间")
    @Column
    @ApiModelProperty(description = "事件间结束时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date event_complete_time;

    @Comment("事件提醒")
    @Column
    @ApiModelProperty(description = "事件提醒")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_reminder;

    @Comment("事件优先级")
    @Column
    @ApiModelProperty(description = "事件优先级")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_priority;

    @Comment("事件标签")
    @Column
    @ApiModelProperty(description = "事件标签")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_label;

    @Comment("显示顺序")
    @Column
    @ApiModelProperty(description = "显示顺序")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String order_by;

    @Comment("事件提醒状态，是否提醒")
    @Column
    @ApiModelProperty(description = "事件提醒状态，是否提醒")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_reminder_status;

    @Comment("事件状态，是否关闭")
    @Column
    @ApiModelProperty(description = "事件状态，是否关闭")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_sys_status;

    @Comment("事件热度（浏览量）")
    @Column
    @ApiModelProperty(description = "事件热度（浏览量）")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_index;

    @Comment("视频")
    @Column
    @ApiModelProperty(description = "视频")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_video;

    @Comment("关注者")
    @Column
    @ApiModelProperty(description = "关注者")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_followers;

    @Comment("事件属性")
    @Column
    @ApiModelProperty(description = "事件属性")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_properties;

    @Comment("事件性质")
    @Column
    @ApiModelProperty(description = "事件性质")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_nature;

    @Comment("角色（我是当事人/我是旁观者）")
    @Column
    @ApiModelProperty(description = "角色（我是当事人/我是旁观者）")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_role;

    @Comment("置顶（是否置顶）")
    @Column
    @ApiModelProperty(description = "置顶（是否置顶）")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_top;

    @Comment("行政区划代码")
    @Column
    @ApiModelProperty(description = "行政区划代码")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_adcode;

    @Comment("区域类型(距离,本地,全国)")
    @Column
    @ApiModelProperty(description = "区域类型(距离,本地,全国)")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String event_area_type;

    @Comment("是否审核")
    @Column
    @ApiModelProperty(description = "是否审核")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String auditing_type;

    @Comment("是否完成")
    @Column
    @ApiModelProperty(description = "是否完成")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String complete_type;

    @Comment("志愿者id")
    @Column
    @ApiModelProperty(description = "志愿者id")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String volunteer_id;


    @Column
    private String community;

}
